﻿using Abp.Domain.Services;
using SOEI.Solution.CommonOthers.Pdf.StructEntities;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace SOEI.Solution.CommonOthers.Pdf.DomainService
{
    public interface IPdfManager : IDomainService
    {
        /// <summary>获取PDF内容
        /// </summary>
        Task<byte[]> GetPdfAsync(PdfParam pParam);

        /// <summary>创建PDF并返回标识
        /// </summary>
        Task<string> Create(PdfParam pParam);

        /// <summary>判断是否存在PDF文件
        /// </summary>
        Task<bool> IsExistsPdf(PdfParam pParam);
    }
}
